# name : Exact CI Upper bound for binary Endpoint
# key : exact.ci.ucl.bin.prop.betainv
# contributor: Shuguang Sun
# --
betainv(1 - ${1:0.025}, a = ${2:r} + 1, b = ${3:n} - $2)